# 1. 要求 cmake 最低版本
cmake_minimum_required(VERSION 3.6)
# 添加工程名称
project(Test)

# 2. 设置编译参数
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")

# 3. 添加 DBManager 库
# link_libraries(${LIBRARY_OUTPUT_PATH}/libs)

# 4. 编译生成
add_executable(dbtest dbtest.cpp)
target_link_libraries(dbtest DBManager)
add_executable(hv_http_test hv_http_test.cpp)
target_link_libraries(hv_http_test hv)